Integrand size = 8, antiderivative size = 32 \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=a x+b x \sec ^{-1}(c x)-\frac {b \text {arctanh}\left (\sqrt {1-\frac {1}{c^2 x^2}}\right )}{c} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {5322, 272, 65, 214} \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=a x-\frac {b \text {arctanh}\left (\sqrt {1-\frac {1}{c^2 x^2}}\right )}{c}+b x \sec ^{-1}(c x) \]
[In]
[Out]
Rule 65
Rule 214
Rule 272
Rule 5322
Rubi steps \begin{align*} \text {integral}& = a x+b \int \sec ^{-1}(c x) \, dx \\ & = a x+b x \sec ^{-1}(c x)-\frac {b \int \frac {1}{\sqrt {1-\frac {1}{c^2 x^2}} x} \, dx}{c} \\ & = a x+b x \sec ^{-1}(c x)+\frac {b \text {Subst}\left (\int \frac {1}{x \sqrt {1-\frac {x}{c^2}}} \, dx,x,\frac {1}{x^2}\right )}{2 c} \\ & = a x+b x \sec ^{-1}(c x)-(b c) \text {Subst}\left (\int \frac {1}{c^2-c^2 x^2} \, dx,x,\sqrt {1-\frac {1}{c^2 x^2}}\right ) \\ & = a x+b x \sec ^{-1}(c x)-\frac {b \text {arctanh}\left (\sqrt {1-\frac {1}{c^2 x^2}}\right )}{c} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.84 \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=a x+b x \sec ^{-1}(c x)-\frac {b \sqrt {1-\frac {1}{c^2 x^2}} x \text {arctanh}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{\sqrt {-1+c^2 x^2}} \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.19
method | result | size |
default | \(a x +b x \,\operatorname {arcsec}\left (c x \right )-\frac {b \ln \left (c x +c x \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{c}\) | \(38\) |
parts | \(a x +b x \,\operatorname {arcsec}\left (c x \right )-\frac {b \ln \left (c x +c x \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )}{c}\) | \(38\) |
derivativedivides | \(\frac {a c x +b \left (c x \,\operatorname {arcsec}\left (c x \right )-\ln \left (c x +c x \sqrt {1-\frac {1}{c^{2} x^{2}}}\right )\right )}{c}\) | \(42\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 63 vs. \(2 (30) = 60\).
Time = 0.28 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.97 \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {a c x + 2 \, b c \arctan \left (-c x + \sqrt {c^{2} x^{2} - 1}\right ) + {\left (b c x - b c\right )} \operatorname {arcsec}\left (c x\right ) + b \log \left (-c x + \sqrt {c^{2} x^{2} - 1}\right )}{c} \]
[In]
[Out]
Time = 1.19 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.00 \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=a x + b \left (x \operatorname {asec}{\left (c x \right )} - \frac {\begin {cases} \operatorname {acosh}{\left (c x \right )} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\- i \operatorname {asin}{\left (c x \right )} & \text {otherwise} \end {cases}}{c}\right ) \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.66 \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=a x + \frac {{\left (2 \, c x \operatorname {arcsec}\left (c x\right ) - \log \left (\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right ) + \log \left (-\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right )\right )} b}{2 \, c} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 63 vs. \(2 (30) = 60\).
Time = 0.29 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.97 \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=\frac {1}{2} \, b c {\left (\frac {2 \, x \arccos \left (\frac {1}{c x}\right )}{c} - \frac {\log \left (\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right ) - \log \left (-\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right )}{c^{2}}\right )} + a x \]
[In]
[Out]
Time = 0.98 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.06 \[ \int \left (a+b \sec ^{-1}(c x)\right ) \, dx=a\,x+b\,x\,\mathrm {acos}\left (\frac {1}{c\,x}\right )-\frac {b\,\mathrm {atanh}\left (\frac {1}{\sqrt {1-\frac {1}{c^2\,x^2}}}\right )}{c} \]
[In]
[Out]